<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
	<h:form id="connectForm">
		<p:panel id="connectPanel" >
			<p:messages id="messages" />
			<h:panelGrid id="connectGrid" columns="2" cellspacing="5">
				<h:outputLabel value="Pseudo" for="pseudo" />
				<p:inputText id="pseudo" value="#{credentials.username}"
					label="Pseudo" required="true" title="Pseudo" />
				<h:outputLabel value="#{bundles.i18n.password}" for="pwd" />
				<p:inputText id="pwd" value="#{credentials.password}"
					label="PassWord" required="true" title="#{bundles.i18n.password}" />
				<p:commandButton id="connect" value="#{bundles.i18n.connectpanel_connexion}"
					action="#{identity.login}" process=":connectForm"
					update="connectPanel" />
				<h:link  outcome="pretty:inscription">
					<f:verbatim>#{bundles.i18n.inscription}</f:verbatim>
				</h:link >
			</h:panelGrid>
		</p:panel>
	</h:form>
</ui:composition>